import { fetchBusiness } from "@/apis"

import { useRequest , useMount } from "ahooks"

// import React from "react" ; 
const Business = () => {
    useMount(()=>{
        // React.$message.error("哈啊啊啊")
        // React.$modal.error({title:'测试',content:"我是测试内容",onOk:()=>{
        //     React.$message.info("点击了确定")
        // },onCancel:()=>{
        //     React.$message.info("点击了取消")
        // }})
    })


    useRequest(()=>fetchBusiness({
        desc: true,
        orderBy: 1,
        pageNum: 0,
        pageSize:10,
        sn:  '',
        state:  ''
    }))
    return (
        <div>
            <h1>BusinessBusinessBusinessBusinessBusiness/BusinessBusinessBusinessBusinessBusiness/BusinessBusinessBusinessBusinessBusiness/BusinessBusinessBusinessBusinessBusiness12312312312312312312312</h1>
        </div>
    )
}


export default Business